﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Windows.Forms;
namespace StudentManage
{
    class XL_DONG
    {
        public static string cour;
        public static string idsubject;
        public static string idterm;

        public static DataRow Chon(ComboBox comb)
        {
            DataRow row = null;
            DataTable data = (DataTable)comb.DataSource;
            row = (DataRow)data.Rows[comb.SelectedIndex];
            return row;
        }
    }
}
